﻿using System;
using System.Collections.Generic;

namespace TfsComLib.TfsBranchLib2
{

    public class BranchSet : HashSet<BranchData>, IEnumerable<BranchData>
    {
        public BranchSet() : base(BranchData.GetBranchDataComparer())
        {
        }

        public BranchSet(params BranchData[] branches) : this()
        {
            foreach (var branchData in branches)
            {
                Add(branchData);
            }
        }
    }
}